#include "stm32f10x.h"                  
#include "pwm.h"
#include "usart.h"

 int  main()
 {
	  usart3_init(115200);
    pwm_init();
		
    while(1)
    {
        //0?-50    90?-150   180?-250
				//ch=(recv_byte()-'0');
				
				M_set(1,90);
				M_set(2,51);
				M_set(3,135);
        my_delay(1000);
        
//				M_set(ch,150);
//        my_delay(1000);

    }
	 
	
}
 